| short: Grafikobjekt |
| de: Zeichnet eine Linie |
| en: Draws a line |
| name | description | category | type | defaultValue | bindable | readOnly | required | localizable | editableBinding | projectable | cssProp (has no setter and getter in JS) | groupRefId | groupOrder | nodeRefId (for linking node and value) | deprecated | typeRefId (for StyleReference) | subtype (for MpComIdentReference) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| enable | Initial option to enable widget. | Behavior | Boolean | true | true | false | false | false | false | true | |||||||
| permissionOperate | restricts operability to users, which have given roles | Accessibility | RoleCollection | no defaultValue defined |
false | false | false | false | false | true | |||||||
| permissionView | restricts visibility to users, which have given roles | Accessibility | RoleCollection | no defaultValue defined |
false | false | false | false | false | true | |||||||
| style | reference to a style for this widget type | Appearance | StyleReference | default | true | false | false | false | false | true | |||||||
| tabIndex | sets if a widget should have autofocus enabled (0), the order of the focus (>0), or if autofocus should be disabled (-1) | Behavior | Integer | -1 | false | false | false | false | false | true | |||||||
| visible | change visibility | Behavior | Boolean | true | true | false | false | false | false | true | |||||||
| x1 | The x1 attribute defines the start of the line on the x-axis | Layout | Integer | no defaultValue defined |
false | false | true | false | false | true | |||||||
| x2 | The x2 attribute defines the end of the line on the x-axis | Layout | Integer | no defaultValue defined |
false | false | true | false | false | true | |||||||
| y1 | The y1 attribute defines the start of the line on the y-axis | Layout | Integer | no defaultValue defined |
false | false | true | false | false | true | |||||||
| y2 | The y2 attribute defines the end of the line on the y-axis | Layout | Integer | no defaultValue defined |
false | false | true | false | false | true | |||||||
| zIndex | The zIndex property specifies the z-order of a widget and its childs. When widgets overlap, z-order determines which one covers the other. A widget with a larger zIndex generally covers a widget with a lower one. The zIndex must be unique within a content. |
UInteger | no defaultValue defined |
false | false | true | true | true |
| name | type | description | defaultValue |
|---|---|---|---|
| lineColor | Color | Sets the color of the line |
#000000 |
| lineWidth | PixelVal | Sets the width of the line |
1px |
| lineCap | LineCap | Sets the type of ending of the line |
butt |
| opacity | Opacity | Opacity of the widget |
1 |
| margin | Margin | Margin of the Widget |
0px |
| name | description | arguments |
|---|---|---|
| Click | Fired when element is clicked on. |
|
| DisabledClick | Fired when disabled element is clicked on. |
|
| EnableChanged | Fired when operability of the widget changes. |
|
| FocusIn | Fired when the widgets gets focus | |
| FocusOut | Fired when the widgets lost focus | |
| VisibleChanged | Fired when the visibility of the widget changes. |
|
| name | description | arguments | result |
|---|---|---|---|
| Focus | Sets focus on the widget element, if it can be focused and keyboardOperation=true | ||
| SetEnable | Sets the state of property «enable» |
|
|
| SetStyle |
|
||
| SetVisible | Sets the state of property «visible» |
|